cmake_minimum_required(VERSION 3.0.0)
project(driver_interface VERSION 0.1.0)
set(CMAKE_CXX_STANDARD 17)

include_directories(
    . 
    user_auth user_auth/v1_0 
    ../drivers/framework/include/utils
    ../drivers/framework/include
    ../drivers/adapter/uhdf2/osal/include
    ../drivers/adapter/uhdf2/include/hdi
    ../drivers/adapter/uhdf2/ipc/include
)
add_library(
    driver_interface
    SHARED 
    user_auth/v1_0/user_auth_interface_proxy.cpp
    user_auth/v1_0/user_auth_types.cpp
)

target_link_libraries(driver_interface PUBLIC ohos_hilog)
target_link_libraries(driver_interface PUBLIC ohos_utils)
target_link_libraries(driver_interface PUBLIC iam_utils)
target_link_libraries(driver_interface PUBLIC ipc)

target_include_directories(driver_interface PUBLIC 
    .
    user_auth 
    user_auth/v1_0 
    ../drivers/framework/include/utils
    ../drivers/framework/include
    ../drivers/adapter/uhdf2/osal/include
    ../drivers/adapter/uhdf2/include/hdi
    ../drivers/adapter/uhdf2/ipc/include
) 